﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>储备库出库业务</title>
    <!--easyui-->
    <link href="../../../css/themes/default/easyui.css" rel="stylesheet" />
    <link href="../../../css/themes/icon.css" rel="stylesheet" />
    <link href="../../common/common.css" rel="stylesheet" />
    <link href="css/query.css" rel="stylesheet" />
</head>
<body>
    <div class="center">
        <div class="navi">
            <div class="navi-left">
                <span class="zt1">计划日期:</span>
                <input id="计划日期" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable: false" />
                <span class="zt1">完成日期:</span>
                <input id="完成日期" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable: false" />
                <span class="zt1">储备库:</span>
                <select class="select"><option value="北海商储库">北海商储库</option><option value="处理中">处理中</option><option value="已完成">已完成</option><option value="已作废">已作废</option></select>
                <span class="zt1">业务类型:</span>
                <select class="select"><option value="全部">全部</option><option value="销售">销售</option><option value="借油">借油</option><option value="短期还罐">短期还罐</option><option value="倒库">倒库</option></select>
                <span class="zt1">工作状态:</span>
                <select class="select"><option value="全部">全部</option><option value="处理中">处理中</option><option value="已完成">已完成</option><option value="已作废">已作废</option></select>
                <span class="btn_search">
                    <a id="btnQuery" href="#" class="easyui-linkbutton" iconcls="icon-search1" style="width:70px;margin-left:10px;">查询</a>
                </span>
            </div>

            <div class="navi-right">
                <!--<div class="btn-add">
                    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add1'" style="width:70px; float: right" onclick="newcreate('储备库出库业务新增')">新建</a>
                </div>-->
            </div>
        </div>
        <div class="tb">
            <table id="tt" style="width:100%;height:auto"></table>
        </div>
    </div>
</body>
</html>
<script src="../../../js/jquery-1.7.2.min.js"></script>
<script src="../../../js/jquery.easyui.min.js"></script>
<script src="js/query.js"></script>
<script src="../../common/common.js"></script>
<script type="text/javascript">
    // 日期控件格式化
    function myformatter(date) {
        var y = date.getFullYear();
        var m = date.getMonth() + 1;
        var d = date.getDate();
        return y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d);
    }
    function myparser(s) {
        if (!s) return new Date();
        var ss = (s.split('-'));
        var y = parseInt(ss[0], 10);
        var m = parseInt(ss[1], 10);
        var d = parseInt(ss[2], 10);
        if (!isNaN(y) && !isNaN(m) && !isNaN(d)) {
            return new Date(y, m - 1, d);
        } else {
            return new Date();
        }
    }
</script>